npub1fklsg82xm5gc7g4ky4ks6t3f7unkl4dxn47nj4jyhn2frpxm5fys527udr (npub1fkl…7udr) try going backwards in the code? maybe launch a debugger and right before the moment it asks you for the password try single-stepping until it starts drawing the window?
of course, the window drawing routine will likely be generic, so you can’t patch it all outright. but at that point you should have a vague idea what part of the code called the window drawing code :)