That is why the homosexuals should not be married.
Leave them single so they can fulfill their function.
In case you hadn't noticed, sex isn't just happening between married people. Kind of screws up your theory.