Make drawLine more similar to native