Ensure that focus is set when widget is instantiated