Numerical study of Stokes' wave diffraction at grazing incidence