Fix images in panels overexpanding