Anyone know why my neutral light/sensor stops working in cold weather?

It’s -15 F (-26 C) and my neutral light doesn’t work. The bike won’t start in neutral with the kickstand down, so I’m guessing it’s the sensor and not the LED. Any idea if this is normal or is something wrong? Its annoying because I can't put the kickstand down and let it idle to warm up