Global transform should be correct after attaching a detached tree.
Set global transform to invalid when changing transform