Fix wrong size of thumbnails