Some bugs fixed on fontgui