Fix crash in GLSL when overlays with many textures are used.

Have to call shader->use() for each set_coords or we overflow
the attribs array cached buffer.