Split out rounded border drawing to its own class and only call when needed.