Stacking / layering order changes when state changes
I have some text with several states. One state "selected" where the text then sits in front of a grey rectangle.
I also have a custom state "yellow" where when the text is selected, it sits in front of a yellow rectangle for accessibility (instead of the grey rectangle).
The "yellow" state is toggled between using a variable. All set up on a master slide. I have the same set up for several different objects and text boxes throughout the project and for the majority of them it works.
On one set of text boxes, when the "yellow" state occurs, the text goes behind the rectangle (instead of being in front of it) - making the text less readable. The yellow is definitely behind the text when setting the state up and in the state preview area (where you set them up), it shows correctly (colour behind text) - just in "real-life" it is the opposite way round.
Is there a simple explanation for this? / Can anyone help?
I have created a workaround, by duplicating the text box (with a clear background) on the actual slide, as well as on the master, which then puts extra text on top of the yellow background of the dodgy state - which does fix it, but unsure why the order changes?