Fixed proxy key when creating a scoped proxy in Container.