It seems like always when its refreshing the last square in the path is always the same. It specifically goes to that exact square at the end. Could you add like 5-10 different ending squares? I dont think this will cause a refreshing issue, just make sure the new square is further away if possible. Pretty sketchy if it always runs to the EXACT same square tbh. idk though