native object invalidation texture fix