Bug fix for non-square images.