fixed thumbnail frame not being displayed for some files. also fixes #135.
Merge pull request #154 from romovs/master

fixed thumbnail frame not being displayed for some files