copy/paste of simple box turns result into a PNG image, can I stop this behaviour?

I know this is a weird question, but here goes.

For a project I’m working on I have been looking at some of the flat XML output and noticed if you copy/paste a box the resulting graphic object is saved as a PNG binary-data in the XML.

It doesn’t always happen. If you click the box once to select it the highlight turn orange and then copy/paste turns it into a PNG. If you click the box twice the highlights turn green and then it copies the box as a shape. This happens with text object too.

I’m wondering if there is anyway to stop this behaviour and get Draw to copy/paste as graphic object not PNGs.

LibreOffice Version 24. 2.7.2

What are the exact steps to reproduce? Where do you see the flat XML? Do you have two Draw documents, selecting a “box” from one, pasting to the other, and saving that other as FODG? Or are you checking the clipboard content? Which OS do you use?

To reproduce: open blank Draw doc. Create box with Rectangle tool. Click box once to select. Right click to copy, Left click to paste. The new copy is now a PNG object.

I’m using Arch Linux. There is nothing in the clipboard before or after the copy/paste.

Below is the FODG that I see. It has two graphic objects, first a “custom-shape” for the first box and
draw:image for the second.

    <office:drawing>
   <draw:page draw:name="page1" draw:style-name="dp2" draw:master-page-name="Default">

    <draw:custom-shape draw:style-name="gr1" draw:text-style-name="P1" draw:layer="layout" svg:width="3cm" svg:height="2.5cm" svg:x="1.5cm" svg:y="1.5cm">
     <text:p/>
     <draw:enhanced-geometry svg:viewBox="0 0 21600 21600" draw:type="rectangle" draw:enhanced-path="M 0 0 L 21600 0 21600 21600 0 21600 0 0 Z N"/>
    </draw:custom-shape>

    <draw:frame draw:style-name="gr2" draw:text-style-name="P1" draw:layer="layout" svg:width="2.989cm" svg:height="2.513cm" svg:x="1.511cm" svg:y="4.987cm">
     <draw:image loext:mime-type="image/png">
      <office:binary-data>iVBORw0KGgoAAAANSUhEUgAAAHEAAABfCAYAAADf2CiWAAABGklEQVR4nO3RwY3CUBTAwPcR
       1dABBxqiMYpMNtke4ICwZiqw5HV/vo5t+1vDz7ru+7Ee99us5eMvOs5zv3w7gs+ZGGBigIkB
       JgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkB
       JgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkB
       JgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkB
       JgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkBJgaYGGBigIkB15mZc2b/dghvOmf7B1mGEYUS
       JK03AAAAAElFTkSuQmCC
      </office:binary-data>
      <text:p/>
     </draw:image>
    </draw:frame>

   </draw:page>
  </office:drawing>