Fixes bug with sprite name collision

If the sprite name is the same name as any of the files in the sprite, then the sprite creation will fail.

This fix checks for this to prevent the collision for Sprites and Bundles.