Take heart from what the girl said. Little kids tend to spout out exactly what's on their minds, and if they view you as male, they'll often say so, or they'll ask what gender you are. That the girl didn't misgender or gender-question you means you clearly passed to her! These moments are small, but they can mean a lot. Hold onto them if you have doubts about how you look.