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

Can this ownerWindow is null or not valid?  Should we check for null first?