Fixing high DPI bug (auth window height exceeding screen height)

No. It does not cause any problem. In fact, this code has been in place for a long time and ownerWindow is mostly null. I just moved the code up here.