ensure that focus is always set when widget is instantiated