Fix dragging issue in SensorEdit.
Fix more SensorEdit issues.