Fix overlapping IDs in multiple <plot-stack> directives