Ho provato ad aggiungere this.transferFocus();
ma la situazione non migliora