dc_buffer: adjust the rect