Fix fontset issue when run in terminal