This function "rebases" the cursor on top of whatever is underneath it, without triggering any focus changes.