Revert "Window size fix for newer Windows"

This reverts commit 498bac6cb2f81d53a2707b43d2d34c366081a9d6.