Fixed NPE during rotation
JBIDE-13833 BrowserSim: zoom webpage for truncated devices

implemented