Fix the Line3D rendering issue

A fix for the Line3D rendering issue I caused reported in #3189

It wasn't refreshing the data, now it checks to see if the data has been changed and marks it for refreshing if it has.