Interactive SVG background: displaytext sometimes undefined

Hello,

I use the possibility to show text-values in SVG-backgrounds. Here I can use “text” or “displayState as text”. Sometimes the formatted text is only displayed with “undefined”. This is also described in the following post.

[OH4.0.2 displayState inconsistency - sometimes "undefined"]

However, I cannot use the solution suggested there with SVGs. How does that work?