Camera Snapping after turning off modals

,

Hello,
I’ve made a frame for a backpack and a text button with modal turned on, but sometimes when i disable the frame with the text button that has modal turned on it snaps the camera somewhere random? I have no idea how to fix this. I’ve also attached a video show this bug. Any help is appreciated.