I'm Goin' to Praiseland - S12-E19
Continuity mistake: When the citizens are leaving the park in disappointment, Manjula walks past the screen and has yellow skin, light brown hair and is wearing a blue dress. In the next shot she is back to her normal skin color and is wearing her usual pink dress.
Tree House of Horror XI - S12-E1
Continuity mistake: In the "Scary Tales can Come True" segment, Bart's plague rat bite disappears for the rest of the segment.
Continuity mistake: During Lisa's and Bart's segment, time seems to run really quickly. When Lisa leaves West Springfield Elementary it is 11:00 and when she gets to Moe's it is noon, then a few minutes later it is 2:50. When Bart and Milhouse find Fat Tony it is noon, then when Bart gets hit by the truck, it is almost 3:00.
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