Merge "Check IME visibility check before calling IMM.hide()" into sc-dev