The bug
When you have shears in your main-hand and any other item with right click ability in your off-hand, the item in the off-hand will be used as well when you right click on a sheep to shear it.
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.entity.passive.EntitySheep.processInteract(EntityPlayer, EnumHand)
is not returning true
when the sheep was successfully sheared, therefor it calls the overridden method net.minecraft.entity.passive.EntityAnimal.processInteract(EntityPlayer, EnumHand)
which fails because shears are not the item required to breed sheep. This makes the game try to use the offhand as well.
Confirmed.