A player in an offside position who prevents an opponent from playing or being able to play the ball is interfering with play and commits an offence.
Not sure how referees are supposed to interpret in practice but you are right, McLeod was a distraction to Fods and also, in my view, McLeod may have got in the way of a Kasim-style last gasp tackle by Hall on Bamford.
Do we have any refs on the forum?
Richtheref is an occasional poster...