Fix tag box display on active treenode

This is also related to issue #808 and the change of overlay.js.