Fix the issue that the photo squeezed after it is uploaded.