Graphical bug viewing PDF in Safari
The behaviour you are seeing is a bug and the comments confirm others can reproduce it. Given this, please tell Apple. Only Apple can fix the underlying bug.

Report to Apple

Use the feedback form to report this bug to Apple. Alternatively, if you have access, you can use Bug Reporter to tell Apple's engineering teams directly.