pointer cursor correction