Fix issue of always resizing uploads