Fix Windows screen size retrieval