Text this: Partial immunity of two-photon correlation against wavefront distortion for spatially entangled photons