Usually (with a couple exceptions) if you use the teleporter pyramids or hex edit outside the normal play area you are unable to move, such as down in the sewers or across the river in the south east section of the Dark Forest.
I guess that flag was set when you hex teleported, but the spell effect triggered an update.