Merge "Keep IMM#mCurRootView synchronized with the actual window focus." into mnc-dev