Problem With Prototyping

Hi Guys! I’m still new to Figma, and while prototyping, I suddenly had an issue where the screen layout is funky. Can someone give me a solution? Thanks!

It looks like your design size doesn’t match with the display device.
Either you’ve created your prototype frame from a preset or made a custom size.

However you make one, you need to match the width and height of your frame…

…with the width and height of the desired device. If you select a preset you’ll get the device border around the display.
To change the device settings, head to the prototype tab while nothing is selected.

Thanks! This worked, do you know how to mass change all the frames? It was fine before, but suddenly I guess the frames shrunk?