Merge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 5/5"