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

vbudovski/ogre,vbudovski/ogre,vbudovski/ogre,vbudovski/ogre,vbudovski/ogre