Fixes thecodingmachine/html.widgets.menu#2