Something similar happens in Bohemian Rhapsody, which shows Freddie Mercury's relationship with his ex-girlfriend as pure and wholesome, while his trysts with other men are perverse affairs. His long-term partner Jim Hutton, the man who took care of him all through his final illness, is pretty much a footnote.
The Cole Porter biopic De-Lovely pulls the same dirty trick. Porter's marriage is shown as an epic romance that inspires all his best songs (not true), while his gay relationships are shameful debauchery. At least the movie acknowledges he was gay. In 2012's Nina, Nina Simone's real-life gay assistant is not only straight, but her love interest. Someone tell Hollywood they're allowed to make movies without heterosexual romances in them now. There was, like, a law about it or something.