track cursor position fix