Fixes a pathfinding bug and makes fleeing only go 10 spaces