High quantum efficiency over a broad spectral range is one of the main properties of the EPIC pn camera on-board XMM-Newton. The quantum efficiency rises from ~75% at 0.2 keV to ~100% at 1 keV, stays close to 100% until 8 keV, and is still ~90% at 10 keV. The EPIC pn camera is attached to an X-ray telescope which has the highest collecting area currently available, in particular at low energies (more than 1400 cm2 between 0.1 and 2.0 keV). Thus, this instrument is very sensitive to the low-energy X-ray emission. However, X-ray data at energies below ~0.2 keV are considerably affected by detector effects, which become more and more important towards the lowest transmitted energies. In addition to that, pixels which have received incorrect offsets during the calculation of the offset map at the beginning of each observation, show up as bright patches in low-energy images. Here we describe a method which is not only capable of suppressing the contaminations found at low energies, but which also improves the data quality throughout the whole EPIC pn spectral range. This method is then applied to data from the Vela supernova remnant.