REGRESSION(r289580): Canvas: putImageData sometimes draws nothing