Found a bug.
If an enemy staggers in front of a shop, the game prioritizes the shop over the enemy, preventing you from interacting with the enemy and causing a softlock.