Ryder being gay was completely unnecessary to the story; takes away...
Ryder being gay added absolutely nothing to this story and may have actually taken away from it.
It seems the only purpose was to 100% convince viewers Ryder had absolutely no physical attraction to Molly of any kind. In which case, the issue is then with the audience member's sick pedophilia, rather than the story.
Heck, Ridley could have even dressed the same way and it wouldn't effect most viewers opinions (he is from California in Nebraska...even a straight guy would dress out of place).
When logic and science aren't on your side, you always lose.