How can I make camera automatically change its location ,so that it would adjust to the models of different size?

Unfortunately, the Focus function works based on the largest component, not on the mesh. What I mean is, I have several actors that contain audio components in them. When I select such an actor and press F, the camera focuses on the sound attenuation sphere instead of the mesh, and it moves waaaaay too far and it’s impossible to use it normally. If only there was a way to change its behavior.