Sex position hurt the baby??

Hi guys, this is my first pregnancy, I’m 24w4 and I was worried about a sex position hurting or swishing the baby?? My husband and I still have sex kind like this picture but with my knees bent up against me and against his chest (sorry if tmi), and normally it’s not an issue but tonight it was a little uncomfortable and now I’m kinda sore from bending like that and lately it’s also been super uncomfortable for me to bend any witch way at the waist, and I’m concerned for the baby?? Is it possible I could have hurt him? Sorry if this sounds dumb I’m just really anxious about it now- TIA!!