Tree House of Horror XII - S13-E1
Audio problem: In 'Wiz Kids,' when Edna asks Harry Potter if he is chewing gum, he replies "No ma'am, it's brimstone," however it's clear that a different line was originally intended. (00:15:25)
Tree House of Horror XII - S13-E1
Audio problem: In Reaper Madness; the scene where Homer destroys the Grim Reaper with a bowling ball, Bart is pinned on the wall by the Reaper's scythe. The scythe disappears and Bart says "Cool!" but his mouth just opens up and doesn't match the word.
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