It's part of a worrying trend in queer television.