Fix WebGL context compatibility

Check multiple possible WebGL context names for compatibility with both
older and newer browser versions.