Cropping added. Bug where not correct area being cropped