Move screenshot-hook 'before' cleanup-hooks.