Once Upon a Time in Springfield - S21-E10
Continuity mistake: The merchandise Krusty asks the kids to hand back doesn't appear in the kids' hands until the merchandise is taken off them. (00:01:55)
Once Upon a Time in Springfield - S21-E10
Continuity mistake: Mr. Burns shows a box of doughnuts coloured pink, brown and light brown. When the guys grab them they're all pink.
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