Generalized SpriteSheet object
Fixed sprite indexing bug