I'm not sure what to look there, sorry if I'm kind of annoying bur I still don't know what to do, here's more graphic representations of what I want if there's still some doubts, anyway thanks for helping me.

This is how I want it to be



and this is the actual program


the red lines represent the invisible parts made by the window(not sure if I should call this a window)



Again thanks.