Roxy used to do that *all* the time, when she got excited.
If someone came into the house she'd rush them, tail wagging and a little puddle of pee would form...
She hasn't done in it about 6 months and she'll be 2 in September. In Roxy's case she just stopped doing it...