Hi patlazar1994,
Thank you for reaching out and sorry to hear you are unable to fix the position while scrolling in XD. We would request you to please share the screenshot of your design showing the right side property panel for better understanding of the settings you applied to the design.
Please also share the version of XD and the details of the OS you're working on.
We will try our best to help.
Thanks,
Harshika