Dog gets its head stuck in the baby gate