The Ewald–Oseen extinction theorem says that the light emitted by the atoms has a component traveling at the speed of light in vacuum, which exactly cancels out ("extinguishes") the original light wave. Additionally, the light emitted by the atoms has a component which looks like a wave traveling at the slower speed of light in glass. Altogether, the only wave in the glass is the slow wave, consistent with what we expect from basic optics.