Having watched it again and as stupid as it was, it didn't have a direct affect on the goal at all.
The ball could have gone anywhere, the spurs player could have controlled it and looked for a pass rather than hoof and of course Engels could have done better with it.