without a screen shot, I’m totally lost. Perhaps you are looking for a scaler that compares the comp size to the nulls and will rescale the null’s world value according to the width and height of the comp constantly changing. That could be either a simply .width and .height
or could end up being a tricky transform such as comparing the length of the anchorpoint of the comp to the nulls. It all depends on me reading your mind, lol.
C = thisComp.layer(“Null 1”);
d = length(toWorld(anchorPoint),C.toWorld([0,0,0]));
https://technicolorsoftware.hostzi.com/