Fixed some bugs
Allow cropping in terms of percentages of the image size