prevent default on webgl context loss, see #279