Fixed issues with tabbing on direct input