2d.drawImage.zerosource.image

drawImage with zero-sized source rectangle from image throws INDEX_SIZE_ERR

Actual output:

FAIL (fallback content)

Expected output: