This change caused many WebGL tests to fail in Servo, which is blocking
the WebRender update. Partially revert the change in order to reland it
later with the issue properly fixed.