Merge pull request #12761 from mitaclaw/core-global-system-5 Core::SetState: Avoid Global System Accessor