Implement Mouse.isInsideWindow() on OS X