Added Composite Sprite getSpriteIDfromIndex function