[BUG] PerimeterOnLabelBounds story: perimeter not on the label bounds at story load

Describe the bug

When loading the story, the terminals of the edges are on the perimeter of the vertices.

To Reproduce

See

  1. Go to https://maxgraph.github.io/maxGraph/demo/?path=/story/labels-perimeteronlabelbounds--default
  2. the edges terminals are on the perimeter of the vertices instead of on the perimeter of the label bounds
  3. after moving the vertex, the terminals are on the right perimeters

Expected behavior

The terminals are on the right perimeters.
This was working in mxGraph, see https://jgraph.github.io/mxgraph/javascript/examples/perimeter.html

Screenshots

PerimeterLabelBounds.webm

Environment

  • maxGraph version or commit: 0.13.0
  • Desktop or mobile: all
  • OS and version: all
  • Browser and version: all