Issues in creating autolayout frames, components, etc. on Figma desktop

Hi! On the desktop app of Figma, the components and autolayout frames doesn’t fit the selected frames. Instead, the generated autolayout frames/components become very large. I’d still have to resize them, but when I do I lose sight of the frames I created.

This isn’t the case for the web app as I can use it without any problems, and it hugs the frames perfectly.

Does anybody know how to fix this?

Solved it. Just had to reinstall the desktop app. I wonder what caused the issue in the first place