Inaccurate IR Sensor Reading

Sounds like a bad contact in the plug then.