Fixed bug with menuid of zero not working on mac