Fix polylines disapperaing in 2D.

Removes the scratch bounding sphere for 2D that made the last computed bounding sphere the same for all polylines.

Fixes #854.