Fix image ratio while cropping

When jcrop show the original image smaller than real size, the crop informations are wrong.

Now a ratio is applied to fix this problem.