When I type C-x 2 from a window containing a window-margin-mode buffer, the frame is divided at the margin, not at the right-hand-side of the current window. This is different from any other buffer, in which pressing C-x 2 divides the frame evenly in 2.