Discard lingering cursor frames when unreferenced tree is reclaimed.