Fixed small pathfinding bug, stuck behind corners