I am having the same issue. The thumbnails in all my galleries are stretched on mobile devices and when using Firefox web browser on a PC.
In one of my galleries, all the images are the exact same size but they are still stretched as thumbnails?