Fixes popover binding and positioning