Fix bugs because of y/x instead of x/y (line/col)