Fix stretched images on the ImagePanel