Fix GUI not closing after teleport.

Fixed regenerate regions not working properly due to closing regions but
not removing them from the region hash map.