capture: add missing nullify of file2Doc and canvases
capture: add missing nullify of file2Doc and canvases

(cherry picked from commit 694477acf9e9e89e072fb7177fe458e6e5fbbe03)

danny0838/firefox-scrapbook,danny0838/firefox-scrapbook