Fix padding of gallery images