fixing bug with gl context not working for generic WebGLRenderingContext