Efforts to join up isolated plant and animal habitats across the world should also protect against unintentionally harming them, new research shows.