Don't set max-height in case of image load failure.