Fix GUI for Mac OS X