Fixed edge case that resulted in a thumb image being a pixel smaller than desired