Added a solution for removing dat gui elements