Square images was not cropped correctly