fix(core): open the added annotation via `markDefPaths` instead of the deprecated `markDefPath` (#14048)