fix getVertex() on PShape when no Z-coord available (#1596)