Fix WebGL support on Windows

Closes #324.