add offx to rect