Fix bug with disabled menu items