fixed clipping of images in thumbnails