Bug 980484 - make the zoom setting more robust, r=dhylands