Fix region overlay check