Fixed adding multiple thumbnails broken