[BUGFIX] Fix for bad initial location calculation in tree view