Fix Polyline Jitter

Fixes issues #990 and #951.

Issues were introduced in #950. Reverts attribute changes, but still back vertex attribute 0 by a buffer. Please also test with a Mac before merging.