This might be a shameless self-promotion but my plugin Runtime Video Recorder (https://www.fab.com/listings/36bd136b-2942-4403-9428-96a430ca71ee), allows you to capture both video (whole or PER FRAME) and screenshot in shipping packaging or editor. It is compatible with 5.3 - 5.5 and being used by Meta, many indie studios and content creators alike (check reviews).
You might use video recording (like record only a few frames) like a workaround for your screenshot functionality