Viewport: Fix the defaultOrientation
config option
#21962
Merged
defaultOrientation
config option
#21962