Bug resolved about the dead loop in moving the mouse.
Bug existing on attacker/defender