Attach (recommended) or Link to PDF file here:
issue13500 (in test corpus)

This regressed when landing #13566. 

What is the expected behavior? (add screenshot)
<img width="664" alt="image" src="https://user-images.githubusercontent.com/942640/122467522-7bc8aa80-cf6f-11eb-9d4d-311eb7c64fb2.png">


What went wrong? (add screenshot)
![image](https://user-images.githubusercontent.com/942640/122467565-85eaa900-cf6f-11eb-9c10-8a8686ed440c.png)


constructor(attributes) {
    super(TEMPLATE_NS_ID, "edge",  true);
    this.cap = getStringOption(attributes.cap, ["square", "butt", "round"]);
    this.id = attributes.id || "";
    this.presence = getStringOption(attributes.presence, [
      "visible",
      "hidden",
      "inactive",
      "invisible",
    ]);
    this.stroke = getStringOption(attributes.stroke, [
      "solid",
      "dashDot",
      "dashDotDot",
      "dashed",
      "dotted",
      "embossed",
      "etched",
      "lowered",
      "raised",
    ]);
    this.thickness = getMeasurement(attributes.thickness, "0.5pt");
    this.use = attributes.use || "";
    this.usehref = attributes.usehref || "";
    this.color = null;
    this.extras = null;
  }
  [$toStyle]() {