Fixed a bug that was causing key/ref pairs to break when spawning a new window after changing the value of the xuid on the ref.