Seems we have a very old version of scrot, from what I can tell it became abandoned and is now support else where from what I can tell this is this repository.
https://github.com/resurrecting-open-source-projects/scrot
I keep seeing people suggesting use --focused param this is not in solus version but is available on other distro, the version in the repo above is 1.1.1
https://dev.getsol.us/source/scrot/repository/master/
Any chance this can be updated the --focused option is really handy and used by some tools to record your current window