issue #5176, move setting setFirstFocsuedWidget to setFocused method