Selectmenu: Correctly pass theme and overlayTheme to popup

Closes gh-7196
Fixes gh-7195

(cherry picked from commit 4434822486adb5e28e44f59e44daa8b42f3501d1)