Fix bizarre race condition by updating global space on first switch into new context