fix delete sprite after restart game