Stil trying to fix some pathfinding glitches