Don't allow an obstacle and the agent to occupy the same edge while moving. Previously they could swap places along the same edge.