Add method for determining if a window is actively on screen.