To me this is an (unpopular) argument against the tabula rasa theory of humans.
If such a complex behaviour can be congenital, who knows what behaviours are congenital in humans.
Edit: Just to clear, my comment was genuine curiosity, especially as true tabula rasa seems to mean we would lose benefits such as the ability to learn spoken language. The racist/xenophobic comments by a poster below is unscientific nonsense and not what I was trying to introduce.
bite behind leg if multiple animals going towards X but animal A goes towards Y and biting will make A go towards X would be complex.
bite behind leg is simple and crude and by placing dog in right context produces complex and useful results.
I do not think a dog has to solve partial differential equations for me to be impressed and think that complex behaviours can be innate.