Fixed issue where screeninfo would return incorrect information.

Appropriate method determined by mysoft in ##freebasic.