fixed files being unselectable after upload (FS#2591)