Menu: fixed incorrect behavior