Comparator reference noise
If the circuit is exactly as shown you may have signal noise on the supply line that is getting into the reference.  Add bypass filter capacitors from each supply line pin to each ground pin, (as close as possible to to the physical pins).  Also place a capacitor from the comparator pin 2 to ground.