Fix having too many images in preview