Ui_template chart breaks ui_chart rendering

Hi all,

I have multiple charts in my Node-RED dashboard using ui_chart and ui_template nodes that work fine. Recently, I added another custom stacked line chart with Chart.js inside a ui_template node.

The issue: after adding this custom chart, when switching tabs, the other ui_chart charts show empty until I reload the page. The other ui_template charts always show correctly.

Has anyone faced this? Any tips on managing Chart.js lifecycle inside ui_template to avoid breaking other dashboard charts?