This rings a bell, I think you have to manually set the id for dynamically created nodes:
Related issue: