bound int version of rect_xywh