Fixing orientation resizing.