Detect which quadrant of the window is clicked