Fix a bug where `self` was not registered during the run phase of `inline_script` items