Continuity mistake: Homer's two hairs over his head are dishevelled when the family arrive at Itchy and Scratchy land due to whatever has happened on the detour - however, it suddenly changes to being like he normally has it in the last frame that shows the family in the car, before the car park is shown.
Continuity mistake: When Cletus takes a picture of one of the robots at the parade, the old lady next to him changes from black to white between shots.
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