Ensure that the selection marker is drawn in the right place...

when switching from the working set to the file tree.

Fix for #9205.

cc @ingorichter