Portal Key bug

I lost 2 portal keys again when entering an artifact realm.