Menu_Basic: bug fixes for Flyout Menus

Reported here: https://groups.google.com/forum/?fromgroups=#!topic/agile-toolkit-devel/igqpS_x8O2M
Multiple bug fixes fix these issues.