SpriteManager

Fixed compiling errors.