made renderer more efficient by calling shaperender.begin() and .end() once per frame instead of once per horse.