Fixed bug - path finding not properly reset after first use