Fix light controller when there is no flicker