js: fix non-showing admin tools after thread expansion