fix CCDirectorCaller warnings
fix warnings of font and RichText