Draft: Fix selection after toggling hidden files visibility
Prevent random non-hidden files from being selected after removing hidden files from the view. Note that, in list view the selection will still jump to the next non-hidden file.
Fixes: #1505
Edited by Theo Linkspfeifer