Fix longstanding console input issue