Fixed overdrawing the line