Fixed support for screencapture media requests.

This fixes issue #1994.