To fix the product images displayed, kindly try setting the image size of the product thumbnail the same as that of the box it is displayed in. To change the product image dimensions, you will have to change Image Thumbnail settings in WooCommerce and regenerate the image thumbnails.