The kid is tired of games and decided to sleep on the dog. Never leave a baby or small child unsupervised alone with the dog, say many! If you leave the room, take it with you or the baby or the dog.
Most often, dogs bite kids it is when there are no adults. If there is no time to look after a dog and a baby at the same time, they need to separate. The dog at the time it is possible to produce in the yard or transfer to another room. But the two of them became inseparable friends.
But this, of course, does not mean that the owners can not arise and the real problem with the dog. Not to anticipate them, not to notice, hoping that everything would work itself out, as wrong as to fall into panic.