I'm running into a strange problem with the commandMenu's visible property. It doesn't seem to work.

Here's the code. When I call modelChanged on line 4 the model does update the command menu item labels, but it does not change whether or not the menu is visible.

this.commandMenuModel.items[0].label = winLabel;
this.commandMenuModel.items[1].label = failLabel;
this.commandMenuModel.visible = false;
The above code is a little nonsensical, but I set it up that way to make sure that I was in fact accessing the correct model object when setting the visible property. Is anyone else having problems with updating the visibility of the commandMenu? Is it something that can only be changed at particular phases of the scene lifecycle? I ask this because changing the visible property during scene setup does work...