Lighting setting bug fix