fixed thumbnail frame not being displayed for some files. also fixes #135.