The only witness to a toddler’s alleged murder has told a court he could not see the victim during the attack.