This happened to I want to say the Avs with Duchane where he was not in the play and making a line change while offside that lead to the winning goal. The goal was challenged, and he was called offsides they would end up losing. If I remember correctly, he had a foot on the bench. Steve Dangle argued on his show that it was a dumb to call the goal back since he was out of the play and changing and made no difference to the play.