Fix rendering of image panel. It needs explicit height because inferring height from image does not work when the image is not yet loaded.