feat(popover): improve rendering (fixes #43)