fixed thumbnail frame not being displayed for some files.