Chat room: ensure the line input has focus when the window gets created