Added xor_region, fixed rect_in_region.

2 files changed