It’s not really a problem.
No one has ever observed any animal in any environment looking directly into the sun with open eyes. Except in caves or the deep ocean, nature tends to eliminate blind individuals quickly. Animals catch on, and avoid behaviors that reduce their survival.