fixing texture dispose