Merge "Store and check IME window vis value before update" into main