Fixed bug with popover demo.