Fix NFC on/off detection.