Fix jumping to wrong lines from guard buffer.