In Safari version 16.6, there is an issue where the canvas element inside a resized container does not update correctly when the context is modified. This problem is reproducible in elements that have been resized using CSS properties such as font-size or zoom. This problem appears to be specific to Apple Silicon processors and has already been fixed in Safari 17. demo: https://jsfiddle.net/iamusualguy/ra26t7ho/
Thank you for the report. Marking as Configuration Changed, because it's been fixed in WebKit already.