With shaders on:
Without shaders on:
Yup I have the same issue
Is this just optifine or does it also happen with other shader mods like Iris?