Add 'destructor' to sprite class