Fix GUI on OSX