Better handling of coordinate systems (AppKit vs Quartz), fixes a multi-display bug.