Workaround for ubuntu appmenu-qt5 bug.