apply region constraint when resizing