Fix sensor activation/deactivation.