Fix Preferences window size. #2463