I have a problem with the essential graphics function when the same comp is used for multiple times in my project (kind of the point of the whole function :-))
I have made a headline comp that splits a string and animates each line.

This comp recives but also provides info to its parent like the width and height of the text that is show.

In the folder Work Comps you can see the problem:
Bug when using same headline comp 2x

The bottom text is using its own height for the position. The correct postion is shown in the transform property but this is not the postion seen in the in the comp.

Here you can see the height used is its own

When both comps are set the same you can see its using its own height and not the height of the subline above.
This works with 2 uniqe but idential headline comps

This is the desired result but it only works when the headline and subline are 2 unique comps in the project. They are 100% identical just duplicated.
I have attached the project and the script file "textFunctions.txt" that needs to be renamed to .jsx as this file type cannot be uploaded here.
I have also tested a version without the jsx code and just inline expressions. This does not fix the problem.
If anyone has any ideas on how to fix this it would be appreciated.
Thanks