Continuity mistake: After Phil eats the "horse" egg at Moe's he asks to be taken to the hospital, and when it cuts back to Homer at the power plant, the direction of the stripes on Homer's tie switch to the opposite direction, mid shot. The same thing occurs again later. First, when Homer is standing outside the office while Fred talks to Burns about the benefits package, and also when Homer can't stay for Marge's turkey breakfast. (00:07:05 - 00:12:20)
Continuity mistake: While Homer, Carl, and Lenny are at Moe's with their new bud Fred, in the interior shots the swinging front door to Moe's swings open on the left side, but in the exterior shot when they all leave Moe's, that door still swings open on the left side, opposite to the interior shots. (00:08:00)
Continuity mistake: When Homer ignores Lily, she gets upset then runs out of Moe's, and in the interior shot the door is hinged at the left, but in the next exterior shot that door is hinged on the opposite side, while Lily is crying outside. (00:09:35)
Continuity mistake: When Marge walks out of her aunt's house onto the porch, the screen door's handle is at the right side, but in the following shots the screen door opens the opposite way. (00:10:05)
Continuity mistake: While Lily continues to "light up all the men's lives, except Homer's," when she walks into the power plant with picnic lunches, Homer is wearing a solid peach colored tie, but in the next shot it's a striped peach and pink tie. (00:11:00)
Continuity mistake: When Homer takes Lily home after her date with Burns, as Homer pulls up to her house, the doorknob is on the left side of its front door, but when Lily enters the house, the doorknob is on the opposite side of the door. (00:16:20)
Continuity mistake: At the end, when Lily is back at a pub in England and meets Homer's doppelganger, his single shirt pocket and button are at his right side, but as he and Lily leave the pub arm in arm his shirt pocket and button are on the opposite side. (00:20:20)
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