Oh, that reminds me, I've had similar but not identical occurrences when a projectile was heading in my direction, generally from a slime, and I attempted to move to another tile.
It seems projectiles trying to follow you through tiles causes unplanned freezes, this is probably what happened here as well, loading must act like changing tiles.