Compile error in mono
Mac: Fix window positioning when the window is place outside of screen bounds, and always use main screen for origin calculation