Fix orientation issue.

Adjusts the frame of the preview layer, when changing orientation.