bug fix in rim light shading