Workaround for Fx29+ prettyView and Bug 1014246