clearing pathfinding info on line of sight with target
warning: may cause some pathology, see issue #107