Fixes a floating point exception when width and height are not supplied (and therefore are zero).
Attach a file by drag & drop or click to upload