I don't fully understand the logic here. It seems that if there is *both* a WebGL error *and* a queued Emscripten bindings error, we will lose the latter (as we do not enter that if, but we still clear GL.lastError)?