Speaks for itself, I stood still for probably around 10 minutes and the screaming goat didn't once ram me, tested it in creative and it didn't ram anything I put around it until I removed the lead and fence
Expected Result
They would still try to ram while leashed to a fence
I can confirm this but I'm unsure as to whether this is intentional or not. I attached a goat to a fence and altered its NBT data to set its "ram cooldown ticks" to a value of 1 so that it would ram me, however after executing this command, it did nothing.