Fixed floating-point precision issue making the right-side value of a plot sometimes wrap to the left-side value.