fixes a problem with adding a local map + GUI for map adding window