added virtual destructor to Sprite