Ensure thumbnails are constrained properly.