focus: correctly clip for portrait mode images