agents now correctly stop following player and resume wandering around when player is out of sight