Don't allow x-coordinates of control points to go outside the interval [0,1]

Make control points fit on canvas