How to insert component directly in a group instead of top layer in a frame

Hello! I’m pretty new to Figma, I used to work with Adobe XD before.
This is the problem i’m dealing with: I have made several groups of components within a frame. When i’m working in one of these groups and I want to insert a component from another library into this group, this component will always appear as the top layer of the frame. Then I have to find it in the layers and drag it into the right group. Is there a way to insert a component directly into the group i’m working in?