Fix image orientation on Mac OSX backend. #3806
Merge pull request #3806 from mdboom/image-orientation-macosx

OSX backend. 2D histograms are flipped vertically