fix texture load error.