Try to keep prefs dialog on screen even when editor is oddly placed