Fix GUI inspector on Mac OS X