When the frameless attribute is present on a mapframe and there is no caption text attribute, then the map is rendered using a different DOM structure. These maps aren't matched by Kartographer's VisualEditor plugin and cannot be edited visually.
It appears like there was a plan to implement this, see T143418: VE Map to support frame / frameless, but this never happened.