Balance In Soccer

For the past week I took a break to have some fun with friends and played basketball regularly with my friends. When I played soccer on Saturday and Sunday I noticed that after I beat a defender i kept stumbling or not being in good balance to strike the ball… how do i improve that ? or is that I was just out of touch with my movement of beating my marker and taking a shot? Is practicing that specific skill the best way to improve balance when shooting or does gym work help? I rely on squats and rdl, but I don’t think single leg work really helps because I don’t heavy on them