A baby sleeping in the cot was throwing his limbs around