Fix Sprite constructor to allow String argument.