When I opened a fence gate with an egg in my hand, the fence gate makes this double opening/shutting noise. Sometimes the gate doesn't open and sometimes the gate won't close. I discovered this issue with my chicken farm; I was going to leave the pen. I happened to have an egg in my hand. When I tried closing the gate, it wouldn't shut consistently after being opened. This issue happens in Minecraft Windows 10 Edition when playing the game using mouse and keyboard.