Well, I tried using the corner radius parameter in a rectangle in WEBGL mode it seems it does nothing.
hi! It seems not implemented yet
I think for now you need to draw it by yourself using beginShape/endShape.
This case it was ok but it would be even better if you can post a link to a sketch on the web editor to reproduce your issue. This would help spotting the problem and submitting an issue on github as well.