Mac: Fixed crash when returning from a fullscreen Space on shutdown.