Fixed GlobalState bug

Background now correctly updates