patchwork/tools/coordinate: fix bug in vector/array coordinates.