Fix a memory leak

All the teardown callbacks would stack up on the parent element.  No longer.