don't draw empty path collections

Doing so causes a JavaScript error because "vertices is undefined".

This addresses issue #210.