Don't chase units that are no longer visible, beyond where they were last seen (fixes #595). This was SVN commit r9657.