Fix a bug with disabled menu