- Create a 500px square image.
- Draw a circle of 500x500 px
- Circle is out of bounds (flat side(s)).
- Also tested exporting the image.
See screenshot (open at 100% size to see problem at left side):

2021-02-03 15:58:41
2021-02-04 15:50:16
2021-02-05 15:35:19