I wasn’t looking at the minaret, I was looking at the angle of the building edge on the Dome of the Rock.
I was looking at the Western Wall. If you flip the picture, the Mosque would be on the south side of the Western Wall, but it is on the north side.