msctf: Context initialization happens before OnPushContext sink.
diff --git a/dlls/msctf/documentmgr.c b/dlls/msctf/documentmgr.c
index c7aa820..f5ea71f 100644
--- a/dlls/msctf/documentmgr.c
+++ b/dlls/msctf/documentmgr.c
@@ -145,8 +145,8 @@
     This->contextStack[1] = This->contextStack[0];
     This->contextStack[0] = check;
 
-    ITfThreadMgrEventSink_OnPushContext(This->ThreadMgrSink,check);
     Context_Initialize(check, iface);
+    ITfThreadMgrEventSink_OnPushContext(This->ThreadMgrSink,check);
 
     return S_OK;
 }