In the screenshot plug-in, don't clean the image, since it's not backed by any persistent source, and disable undo while modifying it, so that the initial edit history is clean. (cherry picked from commit 4fe8217898)
4fe8217898