Broadcast television is improving its depictions of gay, bisexual and transgender characters, even though there are now fewer on TV than last year.