Use integers when positioning on the target canvas

This avoids blurred images after view center changes (dx, dy)
and at fractional zoom levels (dw, dh).