Currently, smartpopopup button is positioned relatively the current item.
I agree, positioning it at the selection may be useful, but only as an option specified explicitly by the programmer.
Unfortunately, calculation of the button position for selection is more complicated than calling GetClientSelectionRect.
I added in TO-DO list.