View from behind the goal changed my mind. Initially thought the on-pitch ruling should stand, but when you see the distance of Maignan and Dumfries and speed of the shot, the goal should stand for me. If anything Maignan's own defenders are 'in his way' from blocking the sight of the shot.
Harsh to disallow.