Don’t use positional arguments with ImageMenuItem and MenuItem.

Avoid DepreciationWarning.