Refactor CCSpriteExtension