Fixed the cut off problem. The window size didn't fit smaller resolutions, made it open in a new window. At least it worked on my laptop