Fix cursor disappear after TAB