Avoiding ugly looks in selfies