Move forced IOS viewport logic further up.

If using multipass, the forced viewport update
will ruin the viewport.