screenshot fix

I've tested without the protocol, thus the two commits, but please use a squash merge.