Changing how root window is found