Good point. I'll fix that. Do you mind telling me your screen resolution? I think this problem may be more pronounced on relatively low-res screens.
Something to be aware of is to use integer math where possible when dealing with canvas coordinates and drawing. I found I ran into similar issues when I allowed fractions to get into my system.