Fix menu disable when ime disabled