Fix deadlock during close.
Return proper frame node after splitting the root node.