WIP
Fix bug in ControlLights.js