Fix off-by-one error.

While ironically introduced by the previous off-by-one error fix, this
bug would leave results at worst 1 pixel too small.
Fix unsigned overflow.

I'm not sure what exactly causes it, but there are some cases where
assImage->dst_x/y will be set when there is nothing to render, which
results in bad behavior.