Titus isn't that way because he's gay. Titus is that way because he's a crazy dreamer living on the margins of a comically exaggerated New York. I never really watched Will & Grace, but my understanding is that the explanation for MacFarland's behavior was just "that's how the gays are."