I am not sure if this is considered as a bug, but I notice that the visibility of a button object is "layer independent". For an example, a button set on layer 1 is visible even though layer 1 is currently invisible. I know I can just set the button to invisible if I don't want it to be shown, but think it would be more convenient if the visibility is layer dependent.