throws error when view is forced to webgl rendering mode but webgl context is not available