A contract is not voidable merely because it was caused by one of the parties to it being under a mistake as to a matter of fact.