Do not pass a nil itemstack to on_rightclick