Merge "Detach stale IME leash for orientation change with gesture navigation" into main