Updated the WebGL context to include preserveDrawingBuffer.