account for exif rotation in memory crop, fixes bounding issue