Bro...
Why did you think an adult pirate was obsessed with hunting a group of unaging little boys?
That story always had a lot of weird subtext, because it's halfway back to the Grimm style fairy tales.
They might not say "stay away from pedos" but all the villains were made to give off those vibes so kids recognized those vibes as dangerous.
For the majority of human history, every story you told kids was about teaching them to be safe. It's not a coincidence a generation or two after Disneyfication we're left with kids who ignore what older generations still consider obvious warning signs. The point went from education to entertainment, so kids expect everything to work out in the end because that's how stories always end.