Fixed issue with flickering LEDs