the new initialization method using AwtPenToolkit fixes the present mode
bug