It looks like your pixel at 0,0 is not in the correct place, off the screen or shifted in about 20 pixels. There are some comments in the example that hint that there may be issues with the...