Merge "Do not skip IME in forAllWindows if its target is invisible" into main