Fix crash when no action is available.
Remove hardcoded menu item offsets. Remove unused property.