Your counting is not very good. You mean Alexander VI, not Alexander VII, and his acknowledged children were born at least a decade before he was elected.
Thus they were not begotten after his election.
Next.
What about fathering children after their Holy Orders?