Minor fix for portrait images