Fix capturing of web views using remote debugger