Fix initial image window size behavior for images loaded without autozoom