Fixed the plot area to draw rounded corners correctly. Fixed issue 510.