Improved rendering of appendNode and removeNode