Made the active texture fix work on GL ES 1.1.