minor fix to drawing lines with -45+