Screenshots get trimmed due to page scaling

Description

The screenshots taken by the embedded screenshot feature get trimmed when the page is zoomed in. For example, setting the page zoom to 150%,

librewolf-screenshot-with-page-scaling

will results: Screenshot_2022-02-20_at_05-26-03_LibreWolf_Browser

I've test this in Firefox and the issue does not occur.

Details

Edited by Luis