1029: fixed "wait keypress"