Fixed Linux assertion in `Document Map` (pkulchenko/ZeroBraneStudio#339).