Fix issues with Sensor edit mode.