bugfix line rendering