Function getElement(index) in class GuiToolbar not work properly. It returns gui objects not only belonging to the ToolBar.