Check that we don't try to reference more than one target of a texture unit.