Fixes to thumbnail thingy