Are you actually measuring the voltage across the shunt?
In other words, the A-wire is in front of the shunt, but where is the ground wire connected? Is it after the shunt or in car ground?
And how about the grounding of the variable resistors?
I think that they all should have the same ground so that the comparator can see the real voltage difference.
Good luck!