Dmitry Timoshkov : server: Make sure that region and rectangle have the same origin before calling rect_in_region ().