fix Sprite constructor

- the constructor must be the inherited function.