ensure we also properly refresh when *adding* new UI elements ar runtime (sic)
Make sure to propagate the dirty state to child elements in containers, otherwise we will not trigger the calculation of the state hash, resulting in no visual changes.
See the result here, the “context” container is changing depending on the game mode: