fix #10994: change how tree view adjusts current selection

Fixes https://trac.openmicroscopy.org.uk/ome/ticket/10994.