Added support for the WebGL context option preserveDrawingBuffer. Affects whether or not the contents of the stencil buffer is retained after rendering.