Fix popup position incorrect on keyup event fire while scrolling page.
Replace `bg_color` to `bgColor`.