It works in MiniBrowser, but because we have to click to change the focus and that causes the required IM events.