Firefox has several specific contexts in which different right-click menus are displayed. I (and I think most other users) would vastly prefer the menu item for "invert image" to only show up in the "image" context, as this would save confusion and many accidental clicks.