[OS X] Correctly compute Cocoa window origins and fix repositioning.
[OS X] Correctly compute Cocoa window origins and fix repositioning.

--HG--
branch : v1-8

digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre