Improve PositionStack and navigation behavior.