fix bug 1046208 - Prevent print oddities in Prism during print

https://bugzilla.mozilla.org/show_bug.cgi?id=1046208