Issue #1209: Fixed a bug in pedigree layout algorithm causing some pedigree to be broken in IE browsers