Corrected calculation of light image.