In 9b917b8d, we defined the background and hover style for the top menubar context menus. However, this did not carry over to the menus for the on-canvas context menu. This patch generalizes the CSS style so it affects both.
9b917b8d