[Remove after rebase] Do not consider resizes to be orientation changes

This is a workaround instead of having to cherrypick all the viewport
on desktop patches. This can be removed after rebase and a setting can
be set instead.