close #4276:fixed crash on CocoStudioGuiTest->LabelBMFontTest.