fix: make focus-lost workaround optional