Fixed ColourSegment.getLength() calls.