BugFix: crash due to errors in xy_widen_region