fix receiving wrong viewport width in IE 9 and 10