getPointerMode fix

getPointerMode fix