Fix for demo submenu bug