Fixed Motor Sensor Bug