Merge "Clear the inset of previous IME when necessary." into mnc-dev