Bugfixes in RegularLightSpectrum