GUI: TreeView autoexpand fix