fix for testdeleteSprite