Mollification of Fourier Spectral Methods with Polynomial Kernels