Improved max viewport size