Fix scale size

Hi, there

I found wrong calculation when cropping image