Fix issue with canvas parameters
Merge pull request #284 from arv/webgl-fix

Fix issue with canvas parameters