Fix error when deducing language and no compose_window has been set
Fix error when deducing language and no compose_window has been set

This can happen when we boot AutomaticDictionary without a compose window.

beltrachi/automatic_dictionary,beltrachi/automatic_dictionary,beltrachi/automatic_dictionary,beltrachi/automatic_dictionary