Continuity mistake: When Bart and Tab Spangler arrive at the Simpson house, Mr. Spangler points out the belt he is wearing to Bart. But as he leaves Bart and walks to his car, he is suddenly not wearing a belt at all.

Revealing mistake: In the opening sequence's parody of the series where Bart becomes fat and comes out from school on his skateboard, he theoretically should go down the stairs, instead his silhouette suddenly climbs up on the wall next to him, revealing a mistake in the post-production's animation. (00:06:05)
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