Use virtual screen dimensions for X and Y too, not just Width and Height.

This completes the earlier fix for issue #60 by using virtual screen coordinates instead of 0,0 for X and Y checking.