Fix null pointer when adding suggestion support before adding textfield to window