Merge "Fix WindowContext cannot receive global config" into sc-dev