Factual error: The cover of "World's Finest Comics" #94 is shown on the wall at the comic book store. It features Superman with a sign that says, "Gotham or Bust," and Batman gulping. The actual cover of "World's Finest Comics" #94 shows Superman being sprayed with liquid kryptonite while Batman and Robin catch sight of him.
Continuity mistake: In the surgeon's office there are three certificates on the wall with ribbons on them. In the first shot there are two red ribbons and a blue one but in the shot where Homer stands up to read the bill all the ribbons are red.
Answer: I'm not sure if this is the one you're thinking of, but an episode of "Ray Bradbury Theatre," called "A Sound of Thunder," dealt with a similar matter: a group of hunters travel back in time to hunt dinosaurs, only to find things have changed when they get back because someone stepped on a butterfly.
Xofer