You know, that scene from the movie kind of bothered me, too. Racing trains is not cute and not funny. Folks who misjudge are turned into tomato paste and the train drivers, who are helpless to avoid the accident, are traumatized for life.
Honey I Shrunk the Kids was my first clue to this, and that was ages ago.