Fix layout when previews are not fully loaded