Added support for separate previewOrientation