Visibility states of attributes of block

Dear All,

Is there any way to use visibility states with the attributes of a block.
Here you will find attached an example of block with 2 visibility states :

Vertical : 1 vertical line
Horizon : 1 horizontal line + 1 attribute

It works well on the block itstelf but when I insert it in a new drawing and I modify the parameter of the visibility state from horizon to vertical, the attribute is not hidden.
Is there anything to do to work correctly with attributes and visibility states?
Thank you for your help.
BR