Fixes a bug when uploaden non-exif jpeg avatars.
Update on User view. Also changes the image in the profile, when changing the avatar.