Fixes viewport for both iPhones and iPads.