Fixed light inversion when light is off