Removed useless code from DrawLine