Bug fix #102: polyline.setPoints() causes line to disappear