Printing to PDF cuts off part of pictures


I was trying to export my whole document as a PDF and I found I could do that by using the print function. However, I found that when I did that, it cuts off a part of the embedded pictures horizontally.

(Like in the above example)