Window slides to default size and Fl studio crashes (~2mins)

As title.

I have Scaler 2 (latest) in FL Studio (Latest) the window has been scaled up and works fine most of the time, but sometimes if I load a project with scaler open(in the project) it will slide down to its default size
this also sometimes happens when i click the cog icon - select midi channel then click the cog icon to return t o scaler 2 main screen.