UIKit currently has this amazing bug where if you supply a corner radius that's ~1/3 the height of the rect supplied to UIBezierPath it just snaps it to 1/2 the height and makes it a capsule.
e.g. a 24x24 rect, pass that to UIBezierPath and make a rounded rect with 8 as the corner radius, and you'll get a 12 radius instead.
Specify 7 and you'll get 7.
8 and you'll get 12