Shell export-page seems to affect next export-drawing

Steps to reproduce:

This produce two correct images:

file-open:test.svg
export-type:png
export-filename:test1-drawing.png
export-width:60
export-height:86
export-area-drawing:true
export-do:
file-close:
file-open:test.svg
export-type:png
export-filename:test1-page.png
export-width:100
export-height:100
export-area-page:true
export-do:
file-close:

But if file order is switched then test2-drawing.png looks squished.

file-open:test.svg
export-type:png
export-filename:test2-page.png
export-width:100
export-height:100
export-area-page:true
export-do:
file-close:
file-open:test.svg
export-type:png
export-filename:test2-drawing.png
export-width:60
export-height:86
export-area-drawing:true
export-do:
file-close:

I used cat file | inkscape --shell to reproduce

Inkscape Version and Operating System:

  • Inkscape Version: Inkscape 1.0 (4035a4f, 2020-05-01)
  • Operating System: macOS
  • Operating System version: 10.15.4 (19E287) test.svg
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information