pathfinding prepared for canMove fix