Recenter main window in OS X