Geometry nodes uses id properties for the inputs to the node groups. That is because the set of properties changes depending on which geometry node group is selected.
The animation was not updated correctly because the ANIMATION_EVAL depsgraph node was not evaluated, because nothing depended on it in the depsgraph.
The patch makes sure that the proper link to the geometry component is inserted.
I thought about somehow checking if the rna property is at the "root" of the id instead of checking for RNA_Modifier. Unfortunately, that might break other things, because we have non-root id properties in other places as well. Alternatively, the check could also be made more specific by just checking for the geometry nodes modifier instead of any modifier. I only checked for RNA_Modifier, because if other modifiers would use id properties too, they would need this change as well.
