Fixed Line Drawing Bug