Fixes Vi mode clearing in BASH.