G4P controls not working in diferrent windows

just wanted to add G4P controls into different windows (PApplet s) ,
no error found , but the problem is that the controls does not work at all !!!
meaning …
for example if i add a GButton to the main window or the primary PApplet and the mouse is over the button , the button background color changes , although its not changing in another window .
here is the code …

import g4p_controls.*;



GButton btn1;

void setup(){

  size(600,600);
  background(255,0,0);
  
  btn1 = new GButton(this,0,0,width/2,height/2,"test");

}
void draw(){

  
}

void mousePressed(){

  new Screen();
}
class Screen extends PApplet{

  GButton btn2;

  Screen(){
    super();
    PApplet.runSketch(new String[] {this.getClass().getSimpleName()},this);
  }
  
  void settings(){
    size(600,600);
  }
  
  
  void setup(){
    background(255,255,0);
    btn2 = new GButton(this, 0,0,width/2,height/2,"test1");
    btn2.draw();
  }
  
  void draw(){
    btn2.draw();
  }
}

also i tried to use forceBufferUpdate() but didn’t work .

note : i don’t want to use GWindow control from the G4P library .