There is a plugin that comes packed with Exile Buddy called Stuck Detection. It is not enabled by default.
Should do what you want. Be aware that some boss fights take awhile, so if you are using Quest Plugin with Stuck Detection, then allow enough time to complete the boss fights. But for grinding / mapping it works just fine.
What is it getting stuck on? Movement actions should land around the shrines (which is why LMB move is not allowed) and there's no logic for the bot to interact with the shrines.