fix layout cannot fit 3 images issue