Bug 821991, prevent unexpected results in printing by keeping the setup stuff alive, r=roc, a=dveditz

--HG--
extra : rebase_source : 0d6001647eae7db48589a69c3dbd96a4dfb8df3f