Remove useless active texture calls.