Fix polyline issue for straight lines.
Merge pull request #644 from AnalyticalGraphicsInc/polylineIssue

Fix Polyline issue.