Tweaked the round-rect code so it now works properly and handles any
width or radius.

Still todo: alignments.