I just ran into this, too, on 1.21.1.
If instead of clearing, you switch to survival and click on the slot where the picked up item should be, it de-ghosts and you pick it up.
I just ran into this, too, on 1.21.1.
If instead of clearing, you switch to survival and click on the slot where the picked up item should be, it de-ghosts and you pick it up.