[Fixes bug #1094433] Fix issues with the Line Tool not redrawing properly.

This was exposed in commit f18ef8d4, which corrected the stroke extents
rectangle. There were rounding issues when converting from double to
int, and the bounding rect doesn't seem to account for antialiasing.