Fix display of uploaded thumbnails