As an update to anyone that is wondering about this issue:
https://bugs.mojang.com/browse/MC-252683
The update that is supposed to fix it is set to be released on Tuesday June 28th:
https://www.minecraft.net/en-us/article/minecraft-1-19-1-pre-release-1
https://minecraft.fandom.com/wiki/Java_Edition_1.19.1