What's something you used to do/see/say but don't anymore because you don't feel it's right?
Me personally? I've become much less tolerant of sexist humor. Back in the day, cracking a joke at women's expense was pretty common when I was a teen. As I've matured and become aware to the horrific extent of toxicity and bigotry pervading all tiers of our individualistic society, I've come to see how exclusionarly and objectifying that sort of 'humor' really is, and I regret it deeply.
I used to slip in to a bit where I was sarcastically a character that took on beliefs basically the exact opposite of my own. I would make sexist or lightly racist (stereotype) jokes that I didn't actually believe but thought were funny. The jokes were ofter at the expense of myself or people like me but involved bringing up other races, sexes, and ethnicities.
I made an effort to stop doing this for a couple reasons. The first being that idk if I'm really good or really bad at sarcasm but a lot of people just wouldn't get my joke and I was afraid people actually believed that was who I was.
Secondly, I had a kid. I realized that she parrots everything I say and do, and she wouldn't understand the layers of the joke and could potentially become what I was making fun of.
I listen to a lot of comedians in podcast and I envy their ability to slip in and out of bits with other comedians knowing they all get it, but for now I make an effort to end that bit.
I think doing those things when it's clear, is fine. As a queer person, when I catch my friends (usually inadvertently) say something queerphobic, I'll lean it and switch it to be critical of the cishet equivalent.
I think when it's clear, and when it's being used for a good reason, then there's no issue. You make a very good point about your child though. They don't usually get the nuances that an adult should.