The issue is restricted to menus on the extension action button.
When you create menus, they properly show up. However as soon as you call update() with the visible property, they hide nomatter if the visible property is true.
A work around in this case is to remove the menu and create it again.