Fixing line rendering.