I'm pretty certain the genitals (external) aren't completely formed at 12 weeks and aren't until around 16 or so weeks, hence why you can find out the gender at the 19-20 week scan.