This is an incredibly ignorant, yet very pervasive belief. Being gay has nothing to do with "gender confusion." In fact it has nothing to do with "gender." Gender and Sexuality are very different things. And the majority of cross dressers are in fact straight. What causes the confusion is most people don't understand the differences between crossdressers (men who enjoy wearing womens clothing, usually at home and in private), drag queens (men, usually gay, who perform in "drag", often to make a living) and transexuals (men -or women- who feel they have been born the wrong sex.) A lot of transexual men do go on to date men, but some continue to date women, becoming "lesbians." Being gay however, simply means you are attracted to the same sex.
Many gay men are "hyper-masculine," they are gay partly because they are attracted to masculinity.
Keep in mind this outline is very simplistic.