fix(popover): correctly position popovers appended to body

Closes #682