If a defender blocks a shot into the path of an offside player, is it offside?

attacker takes blatent shot at goal, deflects off defender into another attack who was offside when the shot was taken.. Ref calls offside. Is this a

attacker takes blatent shot at goal, deflects off defender into another attack who was offside when the shot was taken.. Ref calls offside. Is this a correct desision?

or:attacker takes blatent shot at goal, deflects off defender into another attack who was offside when the shot was taken.. Ref calls offside. Is this a correct desision?

Tags:path,