restoreContext() should INVALID_OP without loseContext()