Merge "Move call to hide IME until next frame" into tm-dev