fix disabled menubutton. Fixes #673