Create square thumbnails correctly.