Determines which window is capturing mouse.
Mouse is captured by a window when mouse is dragged (left button down while moving mouse) starting from window area.