Make measuring window width and height compatible with IE 7 and later