Fix the crash that CocoStudioGuiTest in the Linux platform and error display than Sprite3DTest