Retro-self-focusing and pinholing effect in a refractive index grating