Fixed attributes for gl lines

Fixes #273