The toddler slipped off her grandpas lap on the hammock