Fixed support for screencapture media requests.

This fixes issue #1994.
Is this line needed?