Fixed an error where reposts would fail to post at all. This would also cause problems when a file was posted with the width of 480px and the thumb was exactly hte same as the original image.
Merge