force update cursor position