Issue #4608: Fixed a bug that CocosStudio throw error

1. _nodeToParentTransformForWebGL is undefined.
2. transform is undefined