Fix "Plugin attempted to register task while disabled"