Pre rendering bug in iframe for iOS 6 and 7, and Android 2.3

Adds a fix for width of the document element getting too large because of a `pre` rendering bug in iframes for iOS6/7 and Chrome 2.3