Update lights.c

Fix screen dimming issue