treedrawing.js: fix undo of deletion of topmost node of tree

fixes #47
Merge branch 'master' of github.com:Annotald/annotald