Deactivate the EGL context after the surface is destroyed