Merge "Fix an issue where the selected bubble might move offscreen for IME" into tm-dev