Fixed the texture binding issue.