Daniil Medvedev had hit the ball into the stands, where it struck a spectator in the face.