resolves bug with units pathfinding to a now dead ship