Fix setting light state