Set Window's Minimum size when using P2D

I don’t know how to do this off the top of my head, but if I were trying to figure it out I would take a look at the error message you’re getting: they’ll tell you the classes that are actually being used. I’d also look through the Processing source code to see what’s going on inside the P2D renderer to know how to get to the underlying window.