Improved line rendering.