Fix destroy method to actually destroy the textures