You should consult St. Thomas Aquinas about his images of perfection. They are his images, not mine.
I think that his imagery comes from Plato.
In his mind, the Earth was corrupt and chaotic, and everything in the Heavens was perfect and free of disorder. I don't think that he thought of anything in the sky as serving any purpose other than being sort of like God's furniture.
A Sun without sunspots would be likely to function perfectly. Galileo was one of the first to examine the planets and other heavenly bodies with a telescope. St. Thomas had no telescope, saw no sunspots or other irregularities. The Church said that there were no sunspots or blemishes,and that if Galileo saw them, it was simply more evidence that Satan was clouding his vision. They forced Galileo to rescind his observation that the Earth was immobile in the center of Creation, with all the other bodies rotating around it. This is because Man was God's greatest Creation and the sole motive for the creation of the universe.
Again, this is not my logic, it is St.Thomas's logic. The Earth became imperfect as a result of Adam & Eve's original sin, but had originally been created as a perfect place. Since God is perfect, all His creations are perfect: if he draws a circle, it will be only a perfect circle. If he creates an sphere, it can only be a perfect sphere, because God by His nature only creates perfection.\
I don't think the Church scholars got into mountains as being imperfections, but of course, if God created a sphere, it would have to be a perfect sphere.
God created Man in his own image, so a perfect human face would be an exact replica of God's face.
A leopard uses its spots as camouflage, to make it a better hunter. A leopard in a perfect world would probably be a vegetarian, since violence is chaotic and there is no chaos in a perfect world. The lion would lie down with the lamb and all creatures would live in harmony, so a leopard might not have spots.