Fix changing console window. only set cols/rows if gui_running