Clean up avatar image.