Fix the model export to use the Map and not the contents of the GUI panels