`globals.withContext` should wrap the current context instead of setting a blank one when called without context parameter.