PDF Thumbnail has inverted colors
I'm on Monterey 12.2 on an M1 Max Macbook pro.
Recently exported some PDFs and for some reason the thumbnails and previews have the colors inverted. The two files are nearly identical. When I open one of them in preview for example, the thumbnail reverts to it's correct colors while the other one doesn't. I opened these in Illustrator, Preview and Acrobat with the files themselves being fine, so I'm wondering if it's something with the OS. The actual vector assets in the files are showing correctly, so it seems it's just the image embedded in the PDF that's not being read correctly.
Is there a workaround so I can avoid this bug in the future?
MacBook Pro 16″, macOS 12.2