fix #22579: remove visible & color from context menu

Original issue also reported that visibility doesn't work for certain element types, but that appears to have already been fixed.