Adjust line drawing coordinates by 0.5 to get line width of 1px