Fixed an issue where trimming an image's whitespace drew the image to low, hence truncating the last row of pixels.