Patching CanvasRenderingContext2D.prototype.drawImage

Fixes #4436