Resize page to selection uses wrong origin (items offset from y=0) if y axis pointing up
See screenshots below. These are from Inkscape 1.2. This is likely a regression from 1.1 series. When resizing the page to the selected items, the items on the page are offset vertically relative to the page origin.