Fix the scene context menu being shown after right-clicking on an item.