Predefined context menu bug fix