Avatar uploader bug

Uploading an image with transparency and then resizing/moving the cropper duplicates the image on the canvas (doesn’t clear said canvas)
The way you could fix it is call .clearRect(0, 0, 180, 180) on the canvas’ context each time the cropper is updated before drawing the result on it

Thanks for your competent feedback. I’ll look into this when work on the cropper the next time.