thats one thought. the O2 sensor circuit in the ECM has its own ground wire that connects to the engine.
It sounds like its in the O2 circuit path anyway....
When the sensor is cold, its behaves like an open circuit (like its disconnected) so the ECM has internal circuitry (bias resistors) to make the input go to mid range, so the loop does not close, and the integrator/BLMs do not update. Once the sensor warms up, it drives the circuit normally. But a grounded wire would do something like this...
Bob