It took a bit to figure out why certain nodes were not being positioned properly when being created but it turns out if a COMP has a promoted(only) extension the nodeX and nodeY members do not function. Turn promoted off and it works. Not sure what other methods are affected also.
No errors either.
cheers
Keith