Agree if she peed and seemed to not know it i'd check for UTI or other issue. that's not normal

Sounds like you are not sure she knew she was peeing as she peed? if so - why did you scold her? for...