Gets the topmost y-axis value for windows on the screen.
The value depends on whether or not the status bar is visible.