went back to waiting when encountering invulnerable entities even if we have infinite tries, to avoid going off-course when encountering a player and moving longest axis first