I fixed this program with a simple step. Since I wanted the cat to go back to its original place, I put the "glide" block and in its original coordinates.
Credits to the ScratchEdTeam