I was passing $menu_popup in to the main window to link it in as it seemed to make sense there however I tried adding it to the AddNotifyIcon instead but I get the same problem, it's the displaying of the menu that is the issue.
I can track the right-click, the issue seems to be in the TrackPopupMenu call.
Comment on Re^2: Win32::GUI won't display an NI menu properly