Wrong pixel coord when code is not obligatory

image When using code but not ignoring cap without finding the code, the trj jumps of the head when no code is found but colored cap.