fix: defer unregistering sequenced items until their elements, not their scopes, are destroyed