Update.
Worked further on the issue and noticed in my page inspection that there was “wpo-minify” that google search led me to a plugin called “WP-Optimize”.
I have deactivated the plugin and some parts of the Mega menu updates.
Will see what setting in that plugin is causing this issue and what other issues i can get resolved within the Mega Menu plugin.