Screen windows manipulation

We cannot really help you without a screenshot of the display arrangement as asked for above.
Also, please test with the value going to a global variable rather than the calculation being done in the screen(....) call
especially where the height and height offset is concerned.

and please see my writeup on SCREENVISIBLE in