This is because some of your images are smaller than the thumbnail size, which by default is 150x150 pixels. If you wish to stop this from happening, when you create your images, make sure they're at least 150x150 pixels.