made final changes to destroy to fix failed texture drawings