Exactly; in short, "The Selfish Gene" is not called "The Selfish Individual" for very good reason.
It's not about individual reproduction; it's about the survival of genetic material. Furthermore, genes aren't a rigid blueprint; they're highly affected by the environment and by simple chance; it's not as if "oops, this family evolved a gay gene and now all of their kids will be gay and they will all die out".
That's even assuming that there's a gay gene and it's not also affecting something else (eg. the Russian tame foxes which started to look a lot like sheepdogs, despite only being bred for tameness)
It's not about individual reproduction; it's about the survival of genetic material. Furthermore, genes aren't a rigid blueprint; they're highly affected by the environment and by simple chance; it's not as if "oops, this family evolved a gay gene and now all of their kids will be gay and they will all die out".