Correct window resolution at windows