Wrap try/catch around canvas getContext webgl

- Firefox throws exceptions for unsupported graphics cards, which causes the tests to fail