fixed lack of focus in tabs