Replace functions for finding the node in the window list