BPopUpMenu style fixes
Use a static_cast in place of a C cast
Fix positioning of BPopUpMenu when a nested item is selected.

Signed-off-by: John Scipione <jscipione@gmail.com>