Hello,
Keep Product Gallery Slider Auto-Height option disabled https://prnt.sc/1tyw3jw and check now.
Regards