fix reading CCSpriteFrame crash