fixed issue in main window titlebar on Yosemite