Fix bug where global spnner doesn't show on initial page load