Fix cropping when using high resolution images
Merge pull request #2 from rajivvenuepick/image-cropping-error

Fix cropping when using high resolution images