That should work. It's probably just because the line is so thin that when it subsamples the image for display, some pixels of the line are not chosen and it picks a neighboring background pixel instead. If you zoom in, or examine the image variable in the Variable Editor (double click the variable name in the workspace), you'll see that the line is in fact really there.
Best Answer