Girl caught her puppy climbing out of its gated pen