There's an apparent bug in the rectangle "size" property stored in the panel file - all of the other properties seem to correctly update in the source code of the panel file when the rectangle's properties are changed in the GEDI, but the "size" property doesn't - instead, it's set to whatever the initial size of the rectangle was and ignores any subsequent changes to the size.
I have no idea how the updated rectangle size is remembered as it appears correct on the GEDI, but regardless, this bug results in strange behaviour when setting the corner radius property.
Observe a demo at https://imgur.com/a/AJVDLS4 of two seemingly identical rectangles, but when the same corner radius is applied to both of them, the result is different!
The only difference is that the rectangle on the right (RECTANGLE4) was initially drawn on the canvas to be of size [201,21], then had its size changed to [181,471], whilst the rectangle on the left (RECTANGLE3) was initially drawn on the canvas with a size of [181,471].
This may seem minor but it's causing us headaches when trying to achieve consistent rounded corners in our UI