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

when switching from the working set to the file tree.

Fix for #9205.
Merge pull request #9245 from adobe/dangoor/9205-selection-change

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