Fix the auto hiding of the dropdown when the dropdown is above the
container