There appears to be a race condition when menus are cleared and recreated with separators. I've experienced this issue with CopyQ, as seen here and here.