Fast fix for segments in chain rendering in wrong order, while waiting issue to be resolved