Continuity mistake: At the birthday party Maggie is playing in the sandbox with one of Apu's kids. She and Apu's son both have pink with green polka-dots party hats on. After she is taken out of the sandbox by Moe, Homer takes her and she keeps squirming out of his arms. Look on her head and you'll see that her party hat has disappeared, and never comes back.
Continuity mistake: When Grandpa goes nuts outside the house he knocks over 2 bins and spills rubbish on the pavement, in the next shot the bins and the rubbish are gone.
Continuity mistake: On the trip back from the gardens, Homer rear ends the car in front of him on the bridge which sends Maggie flying out of the car. In a long shot of the bridge whilst Maggie is in the air you can see the car has changed to an orange color instead of the usual light purple color. The two cars in front of them also change during shot. The one in front of the simpsons changes from a normal red mid sized car to a blue van, whilst the car in front of that one changes from being a green car to a blue one during the aerial shot of Maggie.
Continuity mistake: When Homer goes to catch Maggie (after flying out of the car) he jumps over two cars in front of him and then falls over the second one and there is no sign of any cars in front of him. However in the shot before he climbs over the cars the aerial shot of Maggie flying in the air, all the cars on the bridge are bumper to bumper with no spaces in between them.
Continuity mistake: After the slinky leaves Moe's hands, and goes out of Maggie's room, we see that Maggie's toy phone is right next to the door way, then when the camera goes towards Moe, and Maggie, then we see the toy phone next to Moe and Maggie.
Continuity mistake: When Moe is rocking Maggie, the little image of the flower that is on the rocking chair is purple. Then when Moe gets up, the flower is white.
Continuity mistake: When Maggie is opening her presents, the biggest present is pink. Then after Patty and Selma walk away, the biggest present is blue.
Continuity mistake: Moe's back pockets, the pockets on his bum, change position/disappear between shots - before the Italian-American-Mexican stand-off.
Continuity mistake: In the scene where Maggie swallow' Moe's penny, she first takes out her pacifier to eat it, but in the next shot it's in her mouth again and in the next, she's putting it back in her mouth.
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