Issue #4608: Fixed a bug that CocosStudio throw error