image-drawing handles 0 width or height better to fix #5