Fixed memory leak when deleting textures