Improvements to OpenGLView for WebGL