Formulas used for composite component main container don't take effect immediately

Given a composite component with a property that is used as part of a formula for styling its main container, changes made to that property elsewhere in the application do not immediately manifest in the container, but they do if the same. formula is used to change the styles of an element within that same container.

For example, the background color of the container and the background color of a paragraph within that container. If both colors are controlled by a formula that uses the same property of the composite component then both colors should change together, however one is always behind.

Demo