use setVisible instead of setChildren in ToggleNode to improve performance, see #36