AvalonEdit IME: Fix crash on threadMgr.SetFocus(null); in 64-bit process.