Fix padding for the image tree