fix disappearing cursor on battle end.

and make cautious use >=  instead of >