crop bugfix

fixed a bug where the cropped images were always cropped as a square