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.
Merge pull request #268 from DarkSide666/patch-2

Menu_Basic: bug fixes for Flyout Menus