Fix images resizing