Well, most insect-catching birds apart from bats don't fly during the night, that helps. Pheromones-driven living doesn't mind absence of light that much, and flying insects are pretty sturdy when they hit something full speed, unlike bigger animals.