Tree diversity combats canopy loss