Fix ui disabling in gvim