I learned to ignore them. The speed limit on the streets where children frequent are max 40 and even lower around traffic lights. Drivers should keep looking and assume neither children nor adults will follow traffic rules. You just need to learn to be defensive if you are navigating tons of steel inside a densely populated area.
Children learn by imitation. That, and not the fear that the child might run after you (?!), is the reason why it’s frowned upon to cross red lights in front of children.