Fix bug inserting dropdown after the input el