Fixed issue where login window would not center