Fixed the missing layout at the time the IME list got canceled.