Fix minor glitches while dragging sensors in prefs window.