Fix editbox default text being pre-selected in some cases