Makes pathfinding work again