Another fix for thumbnails