fix annoying bright flash on mode change when usb unplugged