fixed duplicate menubars on linux