Fix overflow issue for entity dropdown.