Monte Carlo Investigation of the Imprisonment of Resonance Radiation: The Doppler-Broadened Line