Sensor simulation fix