I have seen that be an encoder issue but also an electrical short in the head circuit. The encoder and sensor are the cheaper items to change so you could start there. Try cleaning it first. Other than that, most of the time I see this, it's a bad head cable, bead print head, or other damaged...