Fix collapse and selection bug
Created by: Masboes
Fixes #184 (closed) Looks like forceExpand never gets set to false, so it keeps trying to expand nodes that are not relevant (anymore). This fixes the bug, see the issue on how to recreate the bug if you want to compare before & after.