Allow somewhat degenerate rounded rectangles, but apply maximum radius on arcs to prevent self-intersection.