ECMS-4195 fix problem with context menu