Doors open but cannot go through/chests do not open at random times

So i had this recently occurring problem when running papermc on my Raspberry Pi (4GB Ram), and so far everything has gone good (eg. no rubber-banding, and generally very playable game play) but what bothers me and many players on the server is how doors(and even gates) do open without problems, but I could not go through it, no matter op or not. Also, at some random points, players cannot use blocks(like crafting tables) and so for some reason, but mainly the door problem bothers me the most.

Is this a bug or a hardware problem? lag? I tried to use vanilla mine craft and it worked perfectly fine