when changing focus, do not destroy paths which are in both source and target