Bugfix in production, contextmenu not defined