- added additional check to see if WebGL is supported