Fixed the "no focus preference value" bug on startup with new "ensureFocus()"