Moving unit now moves to closer position if target is unreachable