Kids movies are much better now than they used to be.
But I do think that Sony crossed the line with the food allergy bit. Its weird, generic slapstick violence seems fine to me, but specifically exploiting someone's health issue seems wrong in a kids movie.