Fixed some errors in FontManager