Fixed non-positive font size issue in terminal.