FIX: wraps popper call in afterRender and uses createPopper (PR #10621)

Before this fix, popper was sometimes not applied.

GitHub