fix a crash when resizing with a dimension to 0 (based on the ImageView dimensions)
Merge pull request #298 from robUx4/fix_resize_crash

fix a crash when resizing with a dimension to 0 (based on the ImageView dimensions)