True that the ozone layer offers less protection now than before, what, the 1980's? It was never anything close to perfect protection. But, the fact remains that God had he chosen to, could have come up with a better solution. Prior to the 1980's, specifically in the ancient world, being out of the sun was much more difficult and being in the sun was required for survival. That might mean traveling on foot or horseback. That could mean spending hours a day planting and harvesting crops.
There are many other design flaws that an omniscient, all-powerful deity, who personally designed the universe at a sub-atomic level, should have thought about. Why design a planet with flaws that cause earthquakes?
Keep in mind, had God not set up Adam for failure with the apple, the earth would be essentially perfect. Per the Bible, there would be no disease, no suffering, no hunger etc. So, a perfect design is possible.