Sun Visor Design Flaw

I had some business out of town so I rented a car rather than put the miles on my own vehicle. About 30 minutes into my┬ádrive the sun peered through the clouds, impairing my vision. I leaned forward and then to the side in an attempt to find a spot where the sun wasn’t blinding me. No luck. So, I pulled down the sun visor. Bad idea. I had a better chance of seeing with the sun in my eyes. How could this visor be legal? Once I was able to pull over, I snapped this picture. LOL