Capturing area screenshot adds colored border when the area touches the edge of the screen
OS: Linux Mint
DE: Cinnamon
gnome-screenshot version: 3.36.0
When selecting a rectangle for an area screenshot, a theme-dependent overlay + border is applied to it (ok).
When the screenshot is captured, the overlay is not captured (ok). However, if the rectangle touches one of the edges of the screen, the border is captured (not ok).
See this screenshot. There is a green 1px border at the top. This happens with all themes I've tried, with different colors.