Bug 947259 - Fix waitForEvent: marionetteScriptFinished is called from the right sandbox.