lacks exception catching for when webgl is disabled