fixed pathfind issue in tight corridors. Fixed hangup when targeting walls