Because keeper fell into the side netting, the ball was physically behind the goalpost, taking away any doubt as to whether it was a goal or not.
Dog & duck, we'd check nets etc, so would they have checked system with a ball before kickoff and more importantly in this case at halftime?