Previously we would either switch anchor or snap, now we first try switching anchor (if desired) and then snap to window regardless.
Previously we would either switch anchor or snap, now we first try switching anchor (if desired) and then snap to window regardless.