Notably, this fixes obscure issues after calling `script.New()` when the returned instance is a `RefCounted`.