EDIT: I should probably try and make my point rather than just snarkily wave my hands towards it. Material for children which involves the main characters being obnoxious or rude or bad in some way is much older than the recent round of Disney shows (the book I'm linking to is from the 70s, and is intended for a much younger audience than the live-action Disney shows). This is because kids learn the concept of "naughtiness" at a pretty young age, and so find presentations of this naughtiness funny. They're not going to take these characters as simply role models to mirror, because the very reason they enjoy reading about or watching bad behaviour is because they are familiar with the idea that this is not how you're supposed to behave.
Get dozens of book recommendations delivered straight to your inbox every Thursday.