Abort rendering when WebGL context is lost