When switching keyboards in the IME view, make sure that any pending touches don't generate up events when released.