switch to use absolute pointer coordinates