BUG:478960
Before:
After:
(cherry picked from commit c6e9f7fb)
deda426c Fix IME position when window is wider than editor width.