Fixes bug with canceling out of last menu in battle