if the ref deems that the right forward was a big enough distraction to the keeper to where the keeper thought the blal might go to him so HE would score, then he can call the offside. i believe. so basically if that forward in the offside position was a threat the ref can call that.