Fix incorrect rounding of capture region

Previous code sometimes caused bottom of the element to be cropped.
Correct way is to round up bottom right coordinates, not width and
height.
0.6.1