Added test for a Chrome regression with canvas 2D

The regression was that when a 2D canvas was used as the source of a texImage2D a subsequent render to the canvas using the same image as had been drawn previously would yield a corrupted rendering.