Set width to 0 before image loaded.

This was needed becaues if switching to new image resulted in error
Reset crop-size if bigger than image

This occurs if outWidth and outHeight are set from user and bigger
than image-resolution.