issue #21: rotation works when image cropped for the first time. however, if the image has been rotated, the image will go haywire