"cellSizeInPixels" is never used, cleaning up
now most elements are drawn with rounded corners