Fix for broken thumbnails when the file width is in $wgThumbnailBucket