Fix file tree selection