Fixing line rendering