text input deselection bug in firefox fix