Fixed bad texture binds

See previous commit.