Dog struggles to climb over fence