fixCursorPointer