Andrew and Allen are strikers on the same team, Brown is a defender and Barnaby the goalie.
At a moment in time, Andrew makes an attempt on goal. Brown and Barnaby are between Andrews and the goal. Allen is closer to the goalline than Brown is, further from the goalline than Barnaby, but five metres or so off to the left. He's clearly "in an offside position" but arguably he is not interfering in play and nor is he in a position to take advantage of this offside position.
While the ball is in flight, Brown moves backwards toward the goal to intercept it. (He is now closer to the goalline than Allen is.) He defends with a leaping header, and the ball ricochets off to the left. It lands happily in front of Allen, who then strikes the ball, effecting a goal.
Question: Should Allen be ruled offside and hence the goal disallowed? For the purpose of Andrew's goal attempt, Allen's position was irrelevant. He gained no advantage from being offside. His subsequent goal was caused by being presented the ball by Brown's defensive header.
Tsk much easier with salt n pepper pots etc but... I do believe Brown played Allen onside, therefore the goal stands? But hey, I guess ultimately it depends on which Ref and officials were there on the day! As they all seem to change their minds from one game to the next...
There was a striker taking out the keeper who was deemed inactive as he took the keepr out from behind, therefore was not in the keeper's sight of vision, therefore inactive.
Call for the 4th official who may or may not have been watching the big screen before calling the ref over to tell him what he saw with his own eyes, but definitely not on a TV replay