Fix multiple cursor mishaps