Well being that there's a metric shitton of non-gay child molestation (yeah, check on your daughters and such....almost all of their molestation is by straight men). The most common denominator is "molesters are male" (notwithstanding the fun people have in posting hot female teachers who diddle their students).
The problem - if you want to narrow it down to "one group" -- isn't gay men, it isn't straight men.....it's "men."
Not that I support broad condemnation of men as predators, or any shit like that. A pedo is a pedo. I have been around kids a jillion times in my life, male and female. I have managed to molest zero kids. Not because I'm straight, or if I was gay, because I was gay, but because I'm not a pedo predator. Some men, however, are pedo predators. Deal with it on a case-by-case basis.
Oh, and as for the instances of gay men committing sex crimes against boys, dig a little deeper. How often is the perpetrator a closet case who society, his family, etc., has forced to live a lie? Want to make it less likely that a gay dude will turn predator? Stop stigmatizing being gay. Let the dude live his life, have sex with other consenting dudes without being judged, hated, or ostracized, and I suspect you'd see the instances of abuse by gay men (which, again, is not materially statistically greater than their presence in society as a whole) drop. Shit, that's a big part of the molesting priest problem: society told gay men they can't be gay, the priesthood was a recommended "refuge" for them to be celibate, except they just got stuck there being super sexually frustrated. If Father Diddlepants had just been allowed to be Regular Gay Dude, he'd just be out there sipping chardonnay and having gay sex with other consenting gay guys, instead of feeling tempted by all the altar boys.
Leave consenting adults alone. Stop stigmatizing consenting adults. And make anyone - of any sexual orientation - who has sex without consent (rape, pedophilia, etc.) pay a hefty price. Oh, and teach your kids about sex so they know that it's wrong when Uncle Grabbyhands grabs their peepee or their hooha.