Bugfix with thumbnails.