fixed hero walk randomly if clicked on invalid spot