Fix multi-monitor detection on OS X