2d.drawImage.zerosource

drawImage with zero-sized source rectangle throws INDEX_SIZE_ERR