avoid NullReferenceException in updatedRegion

fixes #6166