Olivia Munn was left feeling ''defensive'' when her pet pooch was accused of peeing on someone.

The 37-year-old actress has revealed that her Cavalier King Charles Spaniel named Chance has an odd habit of lifting his leg up when he's being scratched, and after a photo was taken of him doing the motion - which is also used by dogs when they need to urinate - against a stranger, the star was accused of allowing her pooch to pee on people.

Olivia said: ''Chance loves his leg scratched, so he does this thing where he lifts his leg, and it looks like he's peeing on you. They have this shot of Chance and he's lifting his leg. It looks like he's about to pee on the greeter.

And whilst the 'Ride Along 2' star doesn't often like to get involved with bizarre gossip, she has revealed she couldn't help responding to the claims, as they left her feeling ''defensive'' on behalf of poor Chance.

Speaking about times she has confronted rumours about herself, Olivia added: ''I felt that was the only time I can think of, besides having to say 'I'm not dating my friend's ex,' is when I had to say to the world, 'My dog wasn't trying to pee on someone ... No, no, he was just asking for a scratch.' I felt so defensive.''

The 'X-Men: Apocalypse' actress - who also has a rescue Jack Russell terrier mix named Frankie - also joked that the moment became an important life lesson for her dog.

She quipped: ''Chance and I sat down, I told him, 'Hey, look. We're in the public eye, you know? You can't always control it. They're going to say what they want.' I told him to get off Twitter, get off Instagram. I said, 'Deactivate your comments section'.''

Olivia is a proud fan of dogs and currently works as an ambassador for dog walking app Wag!, and has spoken about the importance of adopting pets from shelters rather than buying them.

Speaking to People magazine, she said: ''I think it's so important to adopt pets instead of buying them from a pet store or from breeders, because there are so many dogs and cats and animals that are waiting for their forever home. They're just sitting there waiting, and they're needing someone to come and love them and bring them into their home.''