Merge "Do not keep focus on IME dialog if its target is invisible" into main