Add origin parameter to setSelection()/setSelections()