- Fix menu items not being disabled on Ubuntu.