Redraw tree after cancelling node add operation

This is for #6842.