Fix three.js rendering of lines