Fix opened window size on small screens in browsers where height is an innerHeight (eg. Safari)