Fixed bug with unnecessary removal of coordinates system in regions