I have come across this bug and therefore it makes building certain redstone structures pretty hard.
I tested this in Minecraft 1.15.2 Forge version 31.2.0 no other mods installed just forge.
This does not happen in a vanilla game
any chance of a fix? I like to run forge so i can run map mods on a vanilla game basically but cant as this breaks some of my redstone contraptions