fixed mindflayer pathfinding