Fix SimplePolylineGeometry Firefox test failure

Fixes #1925