I attached a video showcasing this bug and a test resource pack which i used. You can reproduce this bug just by enabling it, enabling vibrant visuals and typing /playanimation @s animation.test.test
This bug is old and comes from early deferred render days please fix this it easily will break many addons/maps
Please fix this