LO 5.1 rotates pdf images 180 degrees and moves the images toward the bottom of the page??

When I open any pdf file with LO 5.1, if the file has any images in it, the image is rotated 180 degrees and moved the width of the image towards the bottom of the page.
All previous versions of LO opened pdf file perfectly.