mac: Make sure menuWillShow is called when setting application menu.