Traces of neonicotinoid pesticides can impair a flying insect's ability to spot predators and avoid collisions with objects in their path.