Fixed gate dragging glitch.